package com.lakeworks.decision;

import com.lakeworks.common.domain.ticket.TktTicket;
import com.lakeworks.decision.base.Decision;
import com.lakeworks.decision.base.DecisionType;
import com.lakeworks.domain.vo.TicketBackVo;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BackTicketStateDecision implements Decision {

    private TktTicket tktTicket;

    private TicketBackVo ticketBackVo;

    public BackTicketStateDecision(TktTicket tktTicket, TicketBackVo ticketBackVo) {
        this.ticketBackVo = ticketBackVo;
        this.tktTicket = tktTicket;
    }

    @Override
    public DecisionType getType() {
        return DecisionType.TICKET_BACK;
    }
}